/**
 */
package fUML.Semantics.CommonBehaviors.Communications.util;

import fUML.Semantics.Classes.Kernel.CompoundValue;
import fUML.Semantics.Classes.Kernel.StructuredValue;
import fUML.Semantics.Classes.Kernel.Value;

import fUML.Semantics.CommonBehaviors.Communications.*;

import fUML.Semantics.Loci.LociL1.SemanticStrategy;
import fUML.Semantics.Loci.LociL1.SemanticVisitor;

import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;

import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * The <b>Adapter Factory</b> for the model.
 * It provides an adapter <code>createXXX</code> method for each class of the model.
 * <!-- end-user-doc -->
 * @see fUML.Semantics.CommonBehaviors.Communications.CommunicationsPackage
 * @generated
 */
public class CommunicationsAdapterFactory extends AdapterFactoryImpl {
	/**
	 * The cached model package.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected static CommunicationsPackage modelPackage;

	/**
	 * Creates an instance of the adapter factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public CommunicationsAdapterFactory() {
		if (modelPackage == null) {
			modelPackage = CommunicationsPackage.eINSTANCE;
		}
	}

	/**
	 * Returns whether this factory is applicable for the type of the object.
	 * <!-- begin-user-doc -->
	 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
	 * <!-- end-user-doc -->
	 * @return whether this factory is applicable for the type of the object.
	 * @generated
	 */
	@Override
	public boolean isFactoryForType(Object object) {
		if (object == modelPackage) {
			return true;
		}
		if (object instanceof EObject) {
			return ((EObject)object).eClass().getEPackage() == modelPackage;
		}
		return false;
	}

	/**
	 * The switch that delegates to the <code>createXXX</code> methods.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected CommunicationsSwitch<Adapter> modelSwitch =
		new CommunicationsSwitch<Adapter>() {
			@Override
			public Adapter caseClassifierBehaviorExecutionActivity(ClassifierBehaviorExecutionActivity object) {
				return createClassifierBehaviorExecutionActivityAdapter();
			}
			@Override
			public Adapter caseClassifierBehaviorExecutionActivity_OwnedBehaviorActivity1(ClassifierBehaviorExecutionActivity_OwnedBehaviorActivity1 object) {
				return createClassifierBehaviorExecutionActivity_OwnedBehaviorActivity1Adapter();
			}
			@Override
			public Adapter caseEventDispatchLoop(EventDispatchLoop object) {
				return createEventDispatchLoopAdapter();
			}
			@Override
			public Adapter caseEventAccepter(EventAccepter object) {
				return createEventAccepterAdapter();
			}
			@Override
			public Adapter caseSignalInstance(SignalInstance object) {
				return createSignalInstanceAdapter();
			}
			@Override
			public Adapter caseClassifierBehaviorExecution(ClassifierBehaviorExecution object) {
				return createClassifierBehaviorExecutionAdapter();
			}
			@Override
			public Adapter caseObjectActivation(ObjectActivation object) {
				return createObjectActivationAdapter();
			}
			@Override
			public Adapter caseGetNextEventStrategy(GetNextEventStrategy object) {
				return createGetNextEventStrategyAdapter();
			}
			@Override
			public Adapter caseFIFOGetNextEventStrategy(FIFOGetNextEventStrategy object) {
				return createFIFOGetNextEventStrategyAdapter();
			}
			@Override
			public Adapter caseSemanticVisitor(SemanticVisitor object) {
				return createSemanticVisitorAdapter();
			}
			@Override
			public Adapter caseValue(Value object) {
				return createValueAdapter();
			}
			@Override
			public Adapter caseStructuredValue(StructuredValue object) {
				return createStructuredValueAdapter();
			}
			@Override
			public Adapter caseCompoundValue(CompoundValue object) {
				return createCompoundValueAdapter();
			}
			@Override
			public Adapter caseSemanticStrategy(SemanticStrategy object) {
				return createSemanticStrategyAdapter();
			}
			@Override
			public Adapter defaultCase(EObject object) {
				return createEObjectAdapter();
			}
		};

	/**
	 * Creates an adapter for the <code>target</code>.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param target the object to adapt.
	 * @return the adapter for the <code>target</code>.
	 * @generated
	 */
	@Override
	public Adapter createAdapter(Notifier target) {
		return modelSwitch.doSwitch((EObject)target);
	}


	/**
	 * Creates a new adapter for an object of class '{@link fUML.Semantics.CommonBehaviors.Communications.ClassifierBehaviorExecutionActivity <em>Classifier Behavior Execution Activity</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see fUML.Semantics.CommonBehaviors.Communications.ClassifierBehaviorExecutionActivity
	 * @generated
	 */
	public Adapter createClassifierBehaviorExecutionActivityAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link fUML.Semantics.CommonBehaviors.Communications.ClassifierBehaviorExecutionActivity_OwnedBehaviorActivity1 <em>Classifier Behavior Execution Activity Owned Behavior Activity1</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see fUML.Semantics.CommonBehaviors.Communications.ClassifierBehaviorExecutionActivity_OwnedBehaviorActivity1
	 * @generated
	 */
	public Adapter createClassifierBehaviorExecutionActivity_OwnedBehaviorActivity1Adapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link fUML.Semantics.CommonBehaviors.Communications.EventDispatchLoop <em>Event Dispatch Loop</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see fUML.Semantics.CommonBehaviors.Communications.EventDispatchLoop
	 * @generated
	 */
	public Adapter createEventDispatchLoopAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link fUML.Semantics.CommonBehaviors.Communications.EventAccepter <em>Event Accepter</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see fUML.Semantics.CommonBehaviors.Communications.EventAccepter
	 * @generated
	 */
	public Adapter createEventAccepterAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link fUML.Semantics.CommonBehaviors.Communications.SignalInstance <em>Signal Instance</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see fUML.Semantics.CommonBehaviors.Communications.SignalInstance
	 * @generated
	 */
	public Adapter createSignalInstanceAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link fUML.Semantics.CommonBehaviors.Communications.ClassifierBehaviorExecution <em>Classifier Behavior Execution</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see fUML.Semantics.CommonBehaviors.Communications.ClassifierBehaviorExecution
	 * @generated
	 */
	public Adapter createClassifierBehaviorExecutionAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link fUML.Semantics.CommonBehaviors.Communications.ObjectActivation <em>Object Activation</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see fUML.Semantics.CommonBehaviors.Communications.ObjectActivation
	 * @generated
	 */
	public Adapter createObjectActivationAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link fUML.Semantics.CommonBehaviors.Communications.GetNextEventStrategy <em>Get Next Event Strategy</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see fUML.Semantics.CommonBehaviors.Communications.GetNextEventStrategy
	 * @generated
	 */
	public Adapter createGetNextEventStrategyAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link fUML.Semantics.CommonBehaviors.Communications.FIFOGetNextEventStrategy <em>FIFO Get Next Event Strategy</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see fUML.Semantics.CommonBehaviors.Communications.FIFOGetNextEventStrategy
	 * @generated
	 */
	public Adapter createFIFOGetNextEventStrategyAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link fUML.Semantics.Loci.LociL1.SemanticVisitor <em>Semantic Visitor</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see fUML.Semantics.Loci.LociL1.SemanticVisitor
	 * @generated
	 */
	public Adapter createSemanticVisitorAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link fUML.Semantics.Classes.Kernel.Value <em>Value</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see fUML.Semantics.Classes.Kernel.Value
	 * @generated
	 */
	public Adapter createValueAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link fUML.Semantics.Classes.Kernel.StructuredValue <em>Structured Value</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see fUML.Semantics.Classes.Kernel.StructuredValue
	 * @generated
	 */
	public Adapter createStructuredValueAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link fUML.Semantics.Classes.Kernel.CompoundValue <em>Compound Value</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see fUML.Semantics.Classes.Kernel.CompoundValue
	 * @generated
	 */
	public Adapter createCompoundValueAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link fUML.Semantics.Loci.LociL1.SemanticStrategy <em>Semantic Strategy</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see fUML.Semantics.Loci.LociL1.SemanticStrategy
	 * @generated
	 */
	public Adapter createSemanticStrategyAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for the default case.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @generated
	 */
	public Adapter createEObjectAdapter() {
		return null;
	}

} //CommunicationsAdapterFactory
